@charset "utf-8";
.myLottery {
  width: 100%;
  padding: 0 20px;
  .dateQueryBox {
    margin-right: 15px;
    .dateQueryItem {
      display: inline-block;
      font-size: 12px;
      color: #001000;
      line-height: 32px;
      span {
        height: 24px;
        line-height: 24px;
        display: inline-block;
        cursor: pointer;
        &.dateItem {
          padding: 0 12px;
          &.on {
            background: #EEEEEE;
            border-radius: 2px;
          }
        }
      }
      span.line {
        margin: 0 10px;
        color: #ccc;
      }
    }
  }
  .profitTheList {
    margin-bottom: 37px;
    margin-top: 28px;
    overflow: visible;
  }
  .profitListItem {
    flex: 1;
    overflow: visible;
    &:nth-child(3) {
      border-left: 1px solid #eee;
      padding-left: 40px;
    }
    .listItemTitle {
      margin-bottom: 36px;
      overflow: visible;
      p {
        font-size: 15px;
        color: #999999;
        line-height: 16px;
        overflow: visible;
        &:first-child {
          span {
            overflow: visible;
            div {
              overflow: visible;
            }
          }
          .profitLossFormula {
            display: inline-block;
            position: absolute;
            top: 50%;
            right: -70px;
            transform: translateY(-50%);
            height: 20px;
            line-height: 20px;
            padding: 0 6px;
            color: #474E70;
            background: #EEEEEE;
            border-radius: 2px;
            font-size: 12px;
            cursor: pointer;
            .help {
              margin-right: 3px;
            }
          }
        }
        &:last-child {
          font-size: 40px;
          color: #1A9612;
          line-height: 40px;
          margin-top: 16px;
          font-family: Arial;
          font-weight: bold;
          &.red {
            color: #E0262B;
          }
        }
      }
    }
    .listItemContent {
      .profitLossInfo {
        margin-bottom: 24px;
        &:last-child {
          margin-bottom: 0;
        }
      }
      .profitLossItem {
        flex: 1;
        p {
          font-size: 14px;
          color: #999999;
          line-height: 16px;
          &:last-child {
            margin-top: 7px;
            font-size: 20px;
            color: #36464B;
            line-height: 20px;
          }
        }
      }
    }
  }
  .latestBetting {
    margin-top: 10px;
    .bettingTable{
      border-top:1px solid #eee;
    }
    .betRecNav {
      .betRecNavItem {
        display: inline-block;
        p{
          line-height: 46px;
          font-size: 16px;
          color: #180000;
          display: inline-block;
          vertical-align: middle;
        }
        span{
          margin:0 10px;
          display: inline-block;
          vertical-align: text-bottom;
          border-bottom:2px solid transparent;
        }
        &.on{
          p{
            font-size: 16px;
            color: #D43B3B;
            border-bottom:2px solid #D43B3B;
          }
        }
      }
    }
    .bettingTableItem {
      li {
        flex: 1;
        font-size: 12px;
        color: #666;
        text-align: center;
        &:first-child {
          flex: 1;
        }
        &:nth-child(2) {
          flex: 1.4;
        }
        &:nth-child(6) {
          flex: 1.3;
        }
        &:nth-child(7) {
          flex: 0.6;
        }
      }
    }
    .bettingTableTitle {
      li {
        height: 32px;
        line-height: 32px;
        text-align: center;
        background: #F9F9F9;
        font-weight: 500;
        border-radius: 2px;
        &:nth-child(2) {
          text-align: left;
          padding-left: 15px;
        }
      }
      &.fgBetTabTitInfo{
        li{
          &:nth-child(2){
            flex: 0.6;
          }
        }
      }
    }
    .bettingTableInfo {
      padding: 12px 0;
      background: #FFFFFF;
      box-shadow: inset 0 -1px 0 0 #EEEEEE;
      &.fgBetListInfo{
        li{
          &:nth-child(2){
            flex: 0.6;
            p:first-child{
              line-height: 32px;
              padding-left: 0;
            }
          }
          &:nth-child(6){
            p:first-child{
              line-height: 32px;
              &.red{
                color: #E83828;
              }
              &.green{
                color: #4caf50;
              }
            }
          }
        }
      }
      li {
        height: 36px;
        p {
          line-height: 16px;
          font-size: 12px;
          color: #36464B;
        }
        &:first-child {
          p {
            color: #666;
          }
        }
        &:first-child,
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5),
        &:nth-child(7),
        &:nth-child(8) {
          P {
            line-height: 32px;
          }
        }
        &:nth-child(3),
        &:nth-child(4),
        &:nth-child(5) {
          P {
            font-size: 14px;
          }
        }
        &:nth-child(3),
        &:nth-child(5) {
          p {
            color: #D43B3B;
          }
        }
        &:nth-child(2) {
          text-align: left;
          padding-left: 15px;
          p {
            &:first-child {
              display: inline-block;
              padding-left: 20px;
              font-size: 14px;
              .creditIcon,
              .officialIcon {
                left: 0;
              }
            }
          }
        }
        &:nth-child(6) {
          P {
            &:first-child {
              padding: 0 3px;
              font-size: 14px;
              color: #D43B3B;
              margin-bottom: 4px;
            }
          }
        }
        &:nth-child(7) {
          p {
            color: #858E9A;
            &.gray {
              color: #858E9A;
            }
            &.red {
              color: #E83828;
            }
            &.green {
              color: #4caf50;
            }
          }
        }
        &:nth-child(8) {
          p {
            display: inline-block;
            padding: 0 15px 0 33px;
            margin-top: 6px;
            height: 24px;
            line-height: 24px;
            border-radius: 24px;
            color: #474E70;
            font-weight: 500;
            .viewDetailsIcon {
              left: 12px;
            }
            &:hover {
              cursor: pointer;
              background: #D43B3B;
              color: #fff;
              .viewDetailsIcon {
                //添加背景
                background: url("../../../assets/images/personal/myLottery/viewDetailsIcon_H.png") center no-repeat;
                background-size: auto 100%;
              }
            }
          }

          //&:hover {
          //  p {
          //    border-radius: 50px;
          //    background: #D43B3B;
          //    box-shadow: 0 2px 10px 0 rgba(212,59,59,0.10);
          //    color: #FAFCFD;
          //  }
          //}
        }
      }
      &:hover {
        background: #F9F9F9;
      }
    }
    .moreRecord {
      margin-top: 25px;
      padding-bottom: 25px;
      text-align: center;
      font-size: 12px;
      color: #36464B;
      line-height: 14px;
      .rightArrow {
        font-size: 16px;
        margin-left: 10px;
      }
    }
    .emptyData {
      text-align: center;
      padding: 100px 0 200px;
      img {
        width: 60px;
        height: 60px;
        margin: 0 auto;
      }
      p {
        margin-top: 10px;
        font-size: 12px;
        color: #9B9B9B;
        line-height: 20px;
      }
    }
  }
  .myLotteryLine {
    width: 100%;
    img {
      width: 100%;
    }
  }
}
